package org.dromara.canteen.domain;

import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 烹饪管理对象 canteen_cooking
 *
 * @author Gjb
 * @date 2025-07-31
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("canteen_cooking")
public class CanteenCooking extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 烹饪id
     */
    @TableId(value = "cooking_id")
    private Long cookingId;

    /**
     * 菜名
     */
    private String cookingName;

    /**
     * 烹饪食材
     */
    private String cookingIngredients;

    /**
     * 烹饪照片
     */
    private String cookingPhoto;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    @TableLogic
    private String delFlag;

    private Long schoolCampusId;

    /**
     * 版本
     */
    @Version
    private Integer version;

    /**
     * 备注
     */
    private String remark;


}
